package com.younion.vo;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;
import cpcns.persister.service.CompositeID;

import java.util.Date;


 
public class ConfigVO extends BaseVO implements IDomainObject,Cloneable{

	/**  */
	private static final long serialVersionUID = -1L;

	 
	private Integer id;

	 
	private String code;

	 
	private String name;

	 
	private String content;

	 
	private Date addtime;

	/**
	 * ״̬
	 * @label ״̬
	 * @code status
	 * @type VARCHAR
	 * @javaType String
	 * @show 
	 * @isLast 
	 * @length 50
	 * @index 6
	 * @oddeven 1
	 * @isAfterTwo 1
	 * @faint 
	 */
	private String status;

	/**
	 * 
	 */
	public ConfigVO() {
	}

	/** 
	 * @return the id
	 */ 
	public Integer getId() {
		return id;
	}

	/** 
	 * @param id the id to set 
	 */ 
	public void setId(Integer id) {
		this.id = id;
	}

	/** 
	 * @return the code
	 */ 
	public String getCode() {
		return code;
	}

	/** 
	 * @param code the code to set 
	 */ 
	public void setCode(String code) {
		this.code = code;
	}

	/** 
	 * @return the name
	 */ 
	public String getName() {
		return name;
	}

	/** 
	 * @param name the name to set 
	 */ 
	public void setName(String name) {
		this.name = name;
	}

	/** 
	 * @return the content
	 */ 
	public String getContent() {
		return content;
	}

	/** 
	 * @param content the content to set 
	 */ 
	public void setContent(String content) {
		this.content = content;
	}

	/** 
	 * @return the addtime
	 */ 
	public Date getAddtime() {
		return addtime;
	}

	/** 
	 * @param addtime the addtime to set 
	 */ 
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	/** 
	 * @return the status
	 */ 
	public String getStatus() {
		return status;
	}

	/** 
	 * @param status the status to set 
	 */ 
	public void setStatus(String status) {
		this.status = status;
	}

	public CompositeID getCompositeID(){
		CompositeID _id = super.getCompositeID();
		_id.clear();
		if(id != null){
			_id.addKey("id", id);
		}
		return _id;
	}
}
